<?php
require_once(dirname(dirname(__FILE__)) . '/app.php');


$time = $_GET['time'];

$tmp_date=date("Ymd");
$tmp_year=substr($tmp_date,0,4) * 1;
$tmp_mon =substr($tmp_date,4,2) * 1;
$tmp_day = substr($tmp_date, 6, 2) * 1;

$time['startYear'] = $time['startYear'] > 0 ? $time['startYear'] : $tmp_year;
$time['startMonth'] = $time['startMonth'] > 0 ? $time['startMonth'] : $tmp_mon;
$time['startDay'] = $time['startDay'] > 0 ? $time['startDay'] : $tmp_day;
$time['endYear'] = $time['endYear'] > 0 ? $time['endYear'] : $tmp_year;
$time['endMonth'] = $time['endMonth'] > 0 ? $time['endMonth'] : $tmp_mon;
$time['endDay'] = $time['endDay'] > 0 ? $time['endDay'] : $tmp_day;

$adminEmailList = AdminEmail::GetAll();



include template('/service/email_set');


//include template('service_staff_index');
//include template('subscribe');
